package com.luck.emp.check.logic;

import java.util.List;

import com.luck.emp.check.qry.CheckQry;
import com.luck.emp.entity.EmpTWhCheckD;
import com.luck.emp.entity.EmpTWhCheckM;
import com.luck.pf.common.entity.UserBean;
import com.luck.pf.framework.logic.IBaseLogic;

/**
 * 说明
 * Copyright: Copyright (c) 2011
 * 深圳**科技
 * @author 
 * 
 */
public interface ICheckLogic extends IBaseLogic{
	/**
	 * 保存盘点单信息
	 **/
	public String saveCheck(UserBean userBean, EmpTWhCheckM entity,String[] productCodes,String[] planQtys) throws Exception;
	/**
	 * 保存反馈信息
	 */
	public String saveCheckFeedback(UserBean userBean, EmpTWhCheckM entity,String[] detailIds, String[] confirmQtys,String[] notes) throws Exception;
	/**
	 * 删除
	 */
	public String deleteCheck(UserBean userBean, EmpTWhCheckM entity) throws Exception;
	/**
	 * 查找分页信息
	 */
	public <T> T findCheckPage(CheckQry qry, Class<T> cls);
	public String saveAudit(UserBean userBean, EmpTWhCheckM entity) throws Exception;
	public List<EmpTWhCheckD> findChecksByCheckCode(String checkCode);
	//查找要盘点的商品
	public  <T> T findCheckProductPage(CheckQry qry, Class<T> cls);
	
}